package mipo.top.users.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class User {
    private Long id;
    private String username;
    private String phone;
    private String email;
    private String salt;
    private String password;
    private Integer state;
    private String age;
    private Date createtime;
    private String headImg;
    private Long logininfoId;

    private Logininfo logininfo;
}
